package com.woniu.smart.mapper;

import com.woniu.smart.dto.WarningDTO;
import com.woniu.smart.entity.Warning;
import com.woniu.smart.vo.OperationVO;
import com.woniu.smart.vo.WarningVO;

import java.util.List;

/**
* @author PC
* @description 针对表【warning(告警记录表
)】的数据库操作Mapper
* @createDate 2022-10-23 02:33:43
* @Entity com.woniu.smart.entity.Warning
*/
public interface WarningMapper {
    List<WarningVO> selectAll(WarningDTO warningDTO);

    int deleteByPrimaryKey(Long id);

    int insert(Warning record);

    int insertSelective(Warning record);

    WarningVO selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(WarningVO record);
    int updateByOperationPrimaryKey(OperationVO record);
    int updateByPrimaryKey(Warning record);

}
